﻿<Window  x:Class="SPNetworkTopology.ExternalWindows.View.FrmAbout"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:res="clr-namespace:SPNetworkTopology" 
             xmlns:viewModel="clr-namespace:SPNetworkTopology.ExternalWindows.ViewModel"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"            
             Title="About" Height="250" Width="520"  WindowStartupLocation="CenterScreen" ResizeMode="NoResize"
        WindowStyle="ThreeDBorderWindow" ShowInTaskbar="False">
    <Grid Width="500" Height="200">
        <Grid.RowDefinitions>
            <RowDefinition Height="36*" />
            <RowDefinition Height="31*" />
            <RowDefinition Height="73*" />
        </Grid.RowDefinitions>
        <Label Content="{Binding Path=LabelContent}" Height="34" HorizontalAlignment="Left" Name="lblInfo" VerticalAlignment="Top"  />
        <Separator VerticalAlignment="Bottom" Grid.Row="0"/>
        <Label Height="48" HorizontalAlignment="Left" Name="lblotherInfo" VerticalAlignment="Top" Width="480" Grid.Row="1" >
            <TextBlock >                
                For information and support visit the Visio website at 
                <Hyperlink Command="{Binding Path=NavigateCommand}" Name="hyperVisio" NavigateUri="http://visio.microsoft.com">http://visio.microsoft.com</Hyperlink>
            </TextBlock>
        </Label>
        <Separator VerticalAlignment="Bottom" Grid.Row="1" Margin="0,20,0,0"/>
        <Label Height="75" HorizontalAlignment="Left" Name="lblotherInfo1" VerticalAlignment="Top" Width="500" Grid.Row="2" >
            <TextBlock>
                Warning: This computer program is protected by copyright law and international treaties. <LineBreak/>
                Unauthorized reproduction or distribution of this program, or any portion of it, may result in <LineBreak/>
                severe civil and criminal penalties, and will be prosecuted to the maximum extent possible <LineBreak/>
                under the law.
            </TextBlock>
        </Label>
        <Separator VerticalAlignment="Top" Grid.Row="2" Margin="0,70,0,0"/>
        <Button Content="Ok" Grid.Row="3" Height="23" HorizontalAlignment="Right" Margin="0,8,12,0" Name="btnOk" VerticalAlignment="Bottom" Width="75" Command="{Binding Path=OkCommand}" />
    </Grid>
</Window>
